package com.tensquare.friend.service;

import com.tensquare.friend.dao.NoFriendDao;
import com.tensquare.friend.pojo.NoFriend;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by WF on 2020/4/4 16:58
 */
@Service
public class NoFriendService {
    @Autowired
    private NoFriendDao noFriendDao;
    public void addNoFriend(String userId, String friendid) {
        NoFriend noFriend = new NoFriend(userId,friendid);
        noFriendDao.save(noFriend);
    }
}
